package com.jy.adscm.zltx.service.impl;

import com.jy.adscm.zltx.bean.Maai_production;
import com.jy.adscm.zltx.mapper.mysql.Maai_productionMapper;
import com.jy.adscm.zltx.service.Maai_productionService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sun.org.apache.bcel.internal.generic.RETURN;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yyy
 * @since 2018-10-15
 */
@Service
public class Maai_productionServiceImpl extends ServiceImpl<Maai_productionMapper, Maai_production> implements Maai_productionService {
    @Autowired
    Maai_productionMapper maai_productionMapper;
    @Override
    public List<Maai_production> loadByOrgid(String orgid){

        return maai_productionMapper.getByOrgID(orgid);
 }
 @Override
    public List<Maai_production> searchAllCondition(String nums,String orgid){
     return maai_productionMapper.searchAllCondition(nums,orgid);
 }


}